package com.nineyang.model;

/**
 * ClassName:Role
 * Description:
 * author: jiuyang
 * DateTime: 2025/1/20 上午10:55
 */
public class Role {

    private int id;
    private String roleName;
    private String role;

    public Role(int id, String roleName, String role) {
        this.id = id;
        this.roleName = roleName;
        this.role = role;
    }

    public Role() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", roleName='" + roleName + '\'' +
                ", role='" + role + '\'' +
                '}';
    }
}
